package com.xlhj.yucloud.common;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author: liucaijing
 * @description: ResultCode
 * @date: 2021/9/9 22:01
 */
@Getter
@AllArgsConstructor
public enum ResultEnum {

    SUCCESS(200, "成功"),
    ERROR(400, "失败"),
    UNAUTHORIZED(401, "未授权"),
    FORBIDDEN(403, "无权限");

    private Integer code;
    private String message;
}
